<div id="tabsbox" class="zs-itabs" id="listdata">
	<ul id="listdata" class="idTabs">
		<li><a href='#reportDiv' class='selected'>列表</a></li>
		<li><a href='#tb' ng-click="onTBClick()" class=''>图表</a></li>
	</ul>
</div>
<div class="zs-ibox" >
	<div class="zs-btnbox">
		<table>
			<tr>
				<td class="text" width="10%">日期:</td>
				<td class="input" style="width:220px"><ag-Datebox class="zs-input"
						ng-model="queryDate" name="start" ></ag-Datebox>
				</td>
				<td class="input" style="width:220px">
				小时:
					<select style="width:50px" ng-change="checkErr();" class="zs-input" ng-model="startHour" ng-options="hour.id as hour.id for hour in hours">
					</select>
						~
					<select style="width:50px" ng-change="checkErr();" class="zs-input" ng-model="endHour" ng-options="hour.id as hour.id for hour in hours">
					</select>
				</td>
				<td><input type="button" name="OK"
					ng-click="onSearchClick()" value="查询" class="zs-btn">
				</td>
			</tr>
		</table>
	      <p class="new_data_tip" style="display:none" id="new_data_tip">新数据</p>
	</div>
</div>
<div  id="reportDiv">
			<div ng-style="{height:(Map_H-150)+'px'}" >
				<div>
					<table class="zs-data-tab" freeze-grid 
							freeze-box-width='Map_W-50' 
							freeze-box-height='Map_H-162' 
							freeze-timecell-width='120'
							freeze-datacell-width='120'
							freeze-cell-height='30'
							head-rowlength='3'
							component-object="freezeGrid" style="border-top: 1px solid #e8e8e8;">
						<tr>
							<td  class="center time_column" style="font-weight: bold;">数据时间</td>
							<td colspan="{{parm.colspan}}" class="center data_column" style="font-weight: bold;" ng-repeat="parm in parmList" ng-bind="parm.parmName"></td>
						</tr>
						<tr>
							<td  class="center time_column" style="font-weight: bold;">范围</td>
							<td  colspan="{{parm.colspan}}" class="center data_column" style="font-weight: bold;" ng-repeat="parm in parmList" ng-bind="data.pollInfo[parm.name_original]['limitText']"></td>					
						</tr>
					 	<tr  ng-repeat="curRow in data.data" style="text-align: center;" class="{{ isDoubleNum($index) ? 'even':'odd' }}">
							<td class="time_column" ng-bind="curRow['DATATIME']" ></td>
						     <td  class="center data_column" ng-repeat="parm in parmList" >
								<label  ng-bind="curRow['RTD_'+parm.name]" ></label>
								<label class="datared tip" ng-if="curRow['AVG_'+parm.name+'_ALARM_FLAG'] == 'ALARM_LESS'">
									<span class="station_yc2" title="异常"></span>
								</label>
								<label class="datared tip" ng-if="curRow['AVG_'+parm.name+'_ALARM_FLAG'] == 'ALARM_OVER'">
									<span class="station_cb1" title="超标"></span>
								</label>
								<label class="datared tip" ng-if="curRow['AVG_'+parm.name+'_ALARM_FLAG'] == 'ODD_OVER'">
									<span class="station_yc2" title="异常"></span>
								</label>
								<label class="datared tip" ng-if="curRow['AVG_'+parm.name+'_ALARM_FLAG'] == 'ODD_LESS'">
									<span class="station_yc2" title="异常"></span>
								</label>
			                </td>
						</tr> 
					</table>
				</div>
			</div>
			<div class="zs-page"> 
               <a ng-click="dataGetter.firstPage()">首页</a>
		        <a class="pre" ng-click="dataGetter.prePage()">上一页</a>
		        <a class="next" ng-click="dataGetter.nextPage()">下一页</a>
		        <a ng-click="dataGetter.lastPage()">尾页</a>
                <a >
                    <label ng-bind="data.pageInfo.pageIndex"></label>
                </a>/
                <a >
                    <label ng-bind="data.pageInfo.pageCount"></label>
                </a>
            </div> 
		</div>
<div id="tb" style="overflow-y:auto;display:none; width:{{Map_w}}px;" ng-style="{'height':(Map_H-100)+'px'}">
	<div style="display: inline-block;">
			<label ng-repeat="row in parmList"  style="margin-left: 6px;  display: block;float:left" class="parmLabel">
			<input ng-checked="row.checked" ng-click="checkedParm($event,$index)" class="zs-btn radio_btn" type="checkbox" />{{row.parmName}}</label>
	</div>
	<div id="char_tb" style="text-align:left;height:{{Map_H-50}}px;">
			
	</div>
</div>
 